package wc

class Task extends Serializable{
  private val datas = List(1, 2, 3, 4, 5)
  val logic=(num:Int)=>{num * 2}
  def compute():List[Int]={
    datas.map(logic)
  }
}
